<script setup>
import { useUserStore } from '@/stores'

import { RouterView } from 'vue-router'
const useStore = useUserStore()
</script>
<template>
  <RouterView></RouterView>
  <div>{{ useStore.name }}</div>
  <el-button @click="useStore.getFirstnme">获取姓氏111</el-button>
</template>

<style scoped></style>
